<?php
// +---------------------------------------------------------------------------+
// | This file is part of the KnowledgebasePublisher package                   |
// | KnowledgebasePublisher - web based knowledgebase publisher tool           |
// |                                                                           |
// | Author:  Evgeny Leontev <eleontev@gmail.com>                              |
// | Copyright (c) 2005 Evgeny Leontev                                         |
// |                                                                           |
// | For the full copyright and license information, please view the LICENSE   |
// | file that was distributed with this source code.                          |
// +---------------------------------------------------------------------------+

class KBClientView_common extends KBClientView
{
	
	
	function _getLink($item, $view = false, $category_id = false, $anchor = false) {
		
		//$this->controller->setModRewrite(false);
		
		if($anchor) {
			$ret = $this->controller->getLink($view) . '#' . $item . $category_id;
		} else {
			$ret = $this->controller->getLink($view, $category_id);
		}
		
		return $ret;
		
	}
}
?>